package com.ruoyi.web.domain.mes;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 废料处理对象 mes_waste
 * 
 * @author levicash
 * @date 2024-01-23
 */
@Data
public class MesWaste extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 废料处理 */
    private Long id;

    /** 处理单编码 */
    @Excel(name = "处理单编码")
    private String code;

    /** 处理日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "处理日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date handleDate;

    /** 处理单位 */
    @Excel(name = "处理单位")
    private String handleDept;

    /** 总金额 */
    @Excel(name = "总金额")
    private BigDecimal amountSum;

    /** 已收金额 */
    @Excel(name = "已收金额")
    private BigDecimal amountReceived;

    /** 经办人 */
    @Excel(name = "经办人")
    private String operator;

    /** 经办人Id */
    @Excel(name = "经办人Id")
    private String operatorId;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;


 //单位ID
    private Long handleDeptId;
    /** 废料处理明细信息 */
    private List<MesWasteDetail> mesWasteDetailList;

}
